Skip to content

[chassis] Add sai_postinit_cmd.soc with interrupt IDs for alerting#21299

Merged
rlhui merged 3 commits intomasterfrom
dev/arlakshm/arista_interupt
Jan 9, 2025
Merged

[chassis] Add sai_postinit_cmd.soc with interrupt IDs for alerting#21299
rlhui merged 3 commits intomasterfrom
dev/arlakshm/arista_interupt

Conversation

@arlakshm
Copy link
Contributor

@arlakshm arlakshm commented Dec 30, 2024

Why I did it

In SAI 11.x the SAI integrity counters is not supported completely. So, to detect packet drops due to packet corruptions or credit watchdog timeouts. We enable these interrupts and set the verbose level to error. This will generate syslogs which can be used to detect.

Work item tracking

How I did it

Enable specific interrupt-ids via the sai_postinit_cmd.soc file.

How to verify it

Generate these interrupts manually and check if the syslog is generated

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@arlakshm
Copy link
Contributor Author

arlakshm commented Jan 2, 2025

/azpw ms_conflict

Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <arlakshm@microsoft.com>
@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Collaborator

@kenneth-arista kenneth-arista left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Discussed concerned with Arvind offline. Please proceed as you deem necessary.

@gechiang gechiang self-requested a review January 9, 2025 16:58
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to msft-202405: Azure/sonic-buildimage-msft#508

VladimirKuk pushed a commit to Marvell-switching/sonic-buildimage that referenced this pull request Jan 21, 2025
…onic-net#21299)

In SAI 11.x the SAI integrity counters is not supported completely. So, to detect packet drops due to packet corruptions or credit watchdog timeouts. We enable these interrupts and set the verbose level to error. This will generate syslogs which can be used to detect.

* add sai_postinit_cmd.soc with interupt IDs for alerting

* update config.bcm with the path to sai_postinit_cmd.soc

* update config_bcm for j2 card
---------

Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <arlakshm@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

6 participants